﻿using System.Runtime.Serialization;

namespace Elderos.Ontology
{
    /// <summary>
    /// Made struct to save some memory
    /// </summary>
    [DataContract]
    public class SynonymEntity
    {
        public SynonymEntity(int id, int entityID)
        {
            ID = id;
            EntityID = entityID;
        }

        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public int EntityID { get; set; }

        [DataMember]
        public double FreebaseRelevancy { get; set; }

        //[DataMember]
        //[MapField("SynoID")]
        //public int SynonymID { get; set; }

    }
}
